package com.vsen.lpr.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class AddRecordToRedisDto {
    @JsonProperty("user_id")
    private Long userId;

    @JsonProperty("recordItem")
    private RecordItem recordItem;

    @Data
    class RecordItem{
        @JsonProperty("title")
        private String tilte;

        @JsonProperty("context")
        private String context;

        @JsonProperty("imgUrls")
        private List<String> imgUrls;

    }

}
